package com.isdepci.project.carbon.service;

import com.isdepci.framework.web.domain.AjaxResult;
import com.isdepci.project.carbon.domain.BDirectRelease;
import com.isdepci.project.carbon.domain.param.WeatherDataExcel;

import java.util.List;

/**
 * 直接释放Service接口
 *
 * @author isdepci
 * @date 2025-03-29
 */
public interface IBDirectReleaseService
{
    /**
     * 查询直接释放
     */
     BDirectRelease selectBDirectReleaseById(Long id);

    /**
     * 查询直接释放列表
     */
     List<BDirectRelease> selectBDirectReleaseList(BDirectRelease bDirectRelease);

    /**
     * 新增直接释放
     */
     int insertBDirectRelease(BDirectRelease bDirectRelease);

    /**
     * 修改直接释放
     */
     int updateBDirectRelease(BDirectRelease bDirectRelease);

    /**
     * 批量删除直接释放
     */
     int deleteBDirectReleaseByIds(Long[] ids);

    /**
     * 删除直接释放信息
     */
     int deleteBDirectReleaseById(Long id);

    AjaxResult calDirectRelease(Long projectId);

    AjaxResult changeDataByProjectId(WeatherDataExcel excel);
}
